#!/bin/bash
# 监控 v3 模型训练进度

LOG_FILE="v3_training.log"

echo "======================================"
echo "📊 Safety Classifier v3 训练监控"
echo "======================================"
echo ""

if [ ! -f "$LOG_FILE" ]; then
    echo "❌ 日志文件不存在: $LOG_FILE"
    exit 1
fi

echo "最新训练进度 (最后 50 行):"
echo "--------------------------------------"
tail -50 "$LOG_FILE"

echo ""
echo "--------------------------------------"
echo "💡 提示:"
echo "  - 查看完整日志: tail -f v3_training.log"
echo "  - 查看最新进度: ./monitor_v3_training.sh"
echo "  - 预计完成时间: 约 2.5-3 小时"
